/*
 * ISessionCommand.java
 *
 * Created on July 30, 2001, 11:24 AM
 */

/*
(C) Copyright MarketLive. 2006. All rights reserved.
MarketLive is a trademark of MarketLive, Inc.
Warning: This computer program is protected by copyright law and international treaties.
Unauthorized reproduction or distribution of this program, or any portion of it, may result
in severe civil and criminal penalties, and will be prosecuted to the maximum extent
possible under the law.
*/


package com.marketlive.biz.session.context;

import org.marketlive.biz.session.context.ICommerceSession;

/**
 * @author elena
 */
public interface ISessionCommand {

    public static final int NOT_ISSUED = 1;
    public static final int SUCCESS = 2;
    public static final int FATAL_ERROR = 3;

    public String getName();

    public void setName(String name);

    public int getStatus();

    public abstract int run(ICommerceSession session) throws Exception;

}

